#ifndef BACKEND_H
#define BACKEND_H

#include <QObject>
#include <QString>

class BackEnd : public QObject
{
    Q_OBJECT

    Q_PROPERTY
    (
    QString userName
    READ userName
    WRITE setUserName
    NOTIFY userNameChanged
    )

public:
    explicit BackEnd(QObject *parent = 0);

    QString userName();

    void setUserName(const QString& userName);

signals:
    void userNameChanged();

public slots:

private:
    QString mUserName;
};

#endif // BACKEND_H
